//
//  ViewController.swift
//  DoctorVisits
//
//  Created by lanou3g on 16/2/27.
//  Copyright © 2016年 SHH. All rights reserved.
//

import UIKit

class ViewController: UIViewController {
    
    var webView:UIWebView?
    

    override func viewDidLoad() {
        super.viewDidLoad()
        
//        self.webView = UIWebView(frame: CGRectMake(UIScreen.mainScreen().bounds))
        self.webView = UIWebView(frame: UIScreen.mainScreen().bounds)
        let request:NSURLRequest = NSURLRequest(URL: NSURL(string: "http://124.192.145.112/194/38/45/letv-uts/20/ver_00_22-1027654440-avc-419997-aac-32000-7453250-429052455-5341434f9f3c875f66c5e56848e90a40-1456312481163.mp4?crypt=36aa7f2e46000&b=460&nlh=3072&nlt=45&bf=8000&p2p=1&video_type=mp4&termid=0&tss=no&geo=CN-1-12-16&platid=14&splatid=1408&its=0&qos=5&fcheck=0&mltag=1&path=120.52.43.205&proxy=2016684432,1008510544,1008510861&uid=2093657046.rp&keyitem=GOw_33YJAAbXYE-cnQwpfLlv_b2zAkYctFVqe5bsXQpaGNn3T1-vhw..&ntm=1456948800&nkey=2f004183e43bb24181da921edb757ad2&nkey2=887069ee91d7c010de1bdd3f428e6fcb&mmsid=46483790&tm=1456912251&key=622751ed8a2724d65d04bdaf79801b80&playid=2&vtype=13&cvid=2075085328938&payff=0&pantm=1456912488609&panuid=panbd221acf-19f7-35c1-90bd-3ef197d4ce09&pantoken=e4375a9270b8cf1ef1d224f60e0d8f1b&lc=86384")!)
        self.webView?.loadRequest(request)
        self.view.addSubview(self.webView!)
        
        
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }


}

